package top.infopub.mgr.bpa.dao;

import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import top.infopub.mgr.bpa.domain.OtherConInventoryDomain;
import top.infopub.mgr.bpa.vo.OtherConInventoryVo;
import top.infopub.model.bpa.Basic;
import top.infopub.model.bpa.OtherContractsInventory;

import java.util.List;
import java.util.Map;


/**
 * <p>
 * 其他合同评审 Mapper 接口
 * </p>
 *
 * @author astupidcoder
 * @since 2021-06-15
 */
@Repository
public interface OtherContractsInventoryDao {

    /**
     * 根据条件查询分页数据
     * @param otherConInventoryVo
     * @return
     * @see
     */
    Page<OtherConInventoryDomain> selectByDomainWhere(OtherConInventoryVo otherConInventoryVo);
    Basic findByProCode(String proCode);
    //下拉框数据
    List<Map<String, String>> projectDropDownBox();

    OtherContractsInventory findById(@Param("id") String id);

    void insertOtherContractsInventory(OtherContractsInventory otherContractsInventory);

    void updateOtherContractsInventory(OtherContractsInventory otherContractsInventory);
}
